package com.mooc.mymooc.dao;

import com.mooc.mymooc.pojo.Organization;

import java.util.List;
import java.util.Map;

public interface OrgDao {
    public List<Organization> findAllOrg(Map map);

    public Integer count();

    public List<Organization> findTop4Org();

    public List<Organization> findAllButNoIdea(Map map);

    public Organization findOrgById(Integer id);

    public Integer addFav_nums_org(Integer id);

    public Integer removeFav_nums_org(Integer id);

    public Integer addCourseOrg(Organization organization);

    public List<Organization> findAllOrgUseInBackGround(Organization organization);

    public Integer updateOrg(Organization organization);

    public Integer removeOrg(Integer id);


}
